package com.test.mapper;

import com.test.pojo.TeacherBean;
import com.test.pojo.TeacherBeanExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TeacherMapper {
    long countByExample(TeacherBeanExample example);

    int deleteByExample(TeacherBeanExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TeacherBean record);

    int insertSelective(TeacherBean record);

    List<TeacherBean> selectByExample(TeacherBeanExample example);

    TeacherBean selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TeacherBean record, @Param("example") TeacherBeanExample example);

    int updateByExample(@Param("record") TeacherBean record, @Param("example") TeacherBeanExample example);

    int updateByPrimaryKeySelective(TeacherBean record);

    int updateByPrimaryKey(TeacherBean record);
}